/*浮动布局相关写上面，盒子相关写下面*/
*{
    margin: 0px;
    padding: 0px;
}
/*版心*/
.w{
    width:1200px;
    margin: auto;
}
body{
    background-color:#f3f5f7 ;
}
li{
    list-style: none;
}
a{
    text-decoration: none;
}
.header{
    height: 42px;
    margin: 30px auto;
}
.logo{
    float: left;
    width:198px;
    height: 42px;
    background-color: white;
}
.nav{
    float: left;
    margin-left: 60px;
}
.nav ul li{
    float: left;
    padding: 0 15px;
}
.nav ul li a{
    display: block;
    height: 42px;
    padding: 0 10px;
    line-height: 42px;/*文字居中*/
    color:#050505;
}
.nav ul li a:hover{
    border-bottom: 2px solid #00a4ff;
    color: #00a4ff;
}
.search{
    float: left;
    width:412px;
    height: 42px;
    margin-left: 50px;
    background-color: #00a4ff;
}
.search input{
    float:left;
    width:345px;
    height: 40px;
    border: 1px solid #00a4ff;
    border-right: none;
    color:#bfbfbf;
    font-size: 14px;
    padding-left:15px ;
}
.search button{
    float: left;
    width:50px;
    height: 42px;
    border: 0;
    background: url("../image/搜索按钮.png")no-repeat bottom;
}
.user{
    float: right;
    line-height: 42px;
    margin-right:30px  ;
    font-size: 14px;
    color: #666;
}